<?php

require_once '../config.php';

$administratorId  = operators_get_id();
$log = operators_get_log();

?>

<?php include dirname(__FILE__) . '/header.php' ?>

<table>
  <tr>
    <td id="Sidebar">
      <h2>Make a payment</h2>
      Yandex Money
    </td>
    <td>
      <h2>Your online history</h2>
      <table class="Dg">
        <?php foreach ($log as $entry): ?>
          <tr>
            <td class="DgCell"><?php echo $entry['pingDatetime'] ?></td>
          </tr>
        <?php endforeach ?>
      </table>
    </td>
  </tr>
</table>  

<?php include dirname(__FILE__) . '/footer.php' ?>
